<#include "/layout/header.ftl" />
<#import "/include/ui.ftl" as blue />

<script>

function search_click()
{
	var obj = $.getObject("#div_search");	
	$("#div_grid").simpleLoad("/base/log/sms_list", obj, 0);
	
}
</script>

<div class="am-g am-cf am-margin-top am-margin-bottom">
	<div class="am-u-sm-3 am-padding-right-0">
	</div>
	<div class="am-u-sm-9 am-form-inline" id="div_search">
		<div class="am-form-group">
			<input type="text" name="mobile" class="am-form-field" placeholder="输入手机号码" />
		</div>

		<div class="am-form-group">
			<select name="result" data-am-selected="{'btnWidth': '120px'}">
				<@blue.select list=map.result search=1 placeholder="选择结果" />
			</select>
		</div>

		<a href="javascript:void(0)" onclick="search_click()" class="am-btn am-btn-primary am-radius">搜索</a>
	</div>
</div>

<div class="am-g" id="div_grid">
	<#include "/base/log/sms_list_grid.ftl" />
</div>

<#include "/layout/footer.ftl" />